package com.sen.ssp.sys.config.services.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sen.common.orm.PublicDao;
import com.sen.ssp.sys.config.entity.ConfigInfo;
import com.sen.ssp.sys.config.services.ConfigInfoService;

/**
 * 配置信息管理service实现类
 * 
 * @author sen
 * 
 */
@Service("configInfoService")
public class ConfigInfoServiceImpl implements ConfigInfoService {

	@Resource(name = "publicDao")
	private PublicDao publicDao;
	
	public ConfigInfo getConfigInfo(String typeName, String name) {
		
		return null;
	}

	public ConfigInfo getConfigInfoById(Integer id) {
		return null;
	}

	public List<ConfigInfo> queryConfigInfo(Map<String, Object> params, int skip, int max) {
		return publicDao.query("config.queryConfigInfo", params, skip, max);
	}

}
